package Com.amit.Collection;

import java.util.HashSet;
import java.util.Iterator;

public class Lab7 {

	
	public static void main(String[] args) {
		
		HashSet al=new HashSet();
		al.add("amit");
		al.add("amit");
		al.add("amit");
		al.add("ajay");
		
		Iterator itr=al.iterator();
		
		while(itr.hasNext())
		{
			System.out.println(itr.next());
		}
		
		
	}

}
